package logic;

import java.util.ArrayList;

public class Manager {
/*
 * Atributes
 */
	private ArrayList players;
	private int numPlayers;
	final static int MAX_PLAYERS = 2;
	
/*
 * Constructor
 */
	public Manager(){
	}
	
	public Manager(int _numPlayers){
		numPlayers = _numPlayers;
		players = new ArrayList();
		for(int i = 0; i < numPlayers; i++){
			players.add(new Player("Jugador " + (i + 1), i));
		}
	}
	
/*
 * Methods
 */
	public void newGame(){
		players = new ArrayList();
		for(int i = 0; i < MAX_PLAYERS; i++){
			players.add(new Player("Jugador " + (i + 1), i));
		}
	}
}
